FROM ubuntu:18.04 as bestechnic
WORKDIR /home/openharmony
RUN sed -i "s@http://.*archive.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list \
	&& sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list \
	&& apt-get update -y \
	&& apt-get install -y apt-utils wget tar vim ssh locales \
	&& mkdir -p /home/tools 
ENTRYPOINT [ "echo" , "hello, bestechnic"]

FROM ubuntu:18.04 as wifiiot
WORKDIR /home/openharmony
RUN	sed -i "s@http://.*archive.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list \
	&& sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list \
	&& apt-get update -y \
	&& apt-get install -y apt-utils wget tar vim ssh locales \ 
	&& mkdir -p /home/tools \
	&& rm -rf /home/tools/*.gz 
ENTRYPOINT [ "echo" , "hello, wifiiot"]

FROM ubuntu:18.04 as linux
WORKDIR /home/openharmony
ENTRYPOINT [ "echo" , "hello, linux"]
ENV LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8
